LDRA Testbed ® Code Review Report

Group : PVM-xep






Overall Result: FAIL






Report Production Report Configuration Analysis phases
  • C/C++ LDRA Testbed Version: 8.1.0
  • Config. File: C:\Testbed_CCPP_810\c\creport.dat
  • Produced On: Fri Sep 04 2009 at 15:23:56
  • Penalty File: C:\Testbed_CCPP_810\c\cpen.dat
  • Report Level: Summary Report
  • Procedures Reported: Fails Only
  • Programming Standards Model: CERT
  • Line Numbers refer to: Original Source File
  • Violation Details: Violations Only
  • Reporting Scope: Full analysis scope
  • Static: Yes
  • Complexity: No
  • Static Data Flow: No
  • Information Flow: No
  • Cross Reference: No


Contents

Overall Quality Summary
Report on Program Components
Key to Terms





Overall Quality Summary



Totals of Violations for Selected Quality Standards

'-' indicates required Analysis Phase results are not yet available.
'Off' indicates that the standard is switched off in the Penalty File (<lang>pen.dat).
'MR'indicates that the standard is Misra Restricted.

Number of Violations LDRA Code (M) Mandatory Standards CERT Code
57
9 S CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
0
20 S CERT DCL31-C
17
30 S CERT EXP30-C,EXP31-C
-
5 D CERT EXP33-C
0
39 S CERT FLP30-C
0
43 S CERT ENV33-C,SIG32-C
0
47 S CERT ARR30-C
3
71 S CERT DCL30-C,MEM36-C
0
86 S CERT ERR31-C
114
93 S CERT INT01-C,INT02-C,INT07-C
12
94 S CERT EXP11-C,EXP36-C,INT11-C
3
98 S CERT EXP37-C
-
17 D CERT DCL32-C
-
19 D CERT EXP37-C
-
20 D CERT DCL31-C,ERR30-C
-
24 D CERT DCL31-C
-
1 X CERT ARR31-C
0
134 S CERT EXP10-C,EXP30-C
-
35 D CERT EXP02-C,EXP10-C,EXP30-C
0
1 Q CERT EXP02-C,EXP10-C,EXP30-C
11
157 S CERT STR05-C,STR30-C
332
170 S CERT DCL07-C,EXP37-C
-
41 D CERT EXP37-C
-
42 D CERT DCL30-C
-
43 D CERT INT32-C,INT33-C
0
248 S CERT INT33-C
-
45 D CERT EXP08-C,EXP34-C
-
49 D CERT FIO42-C
21
326 S CERT DCL31-C
0
344 S CERT EXP32-C
-
51 D CERT MEM30-C
0
355 S CERT DCL32-C
9
403 S CERT INT34-C
2
433 S CERT INT02-C,INT31-C
39
434 S CERT INT02-C,INT31-C,STR34-C
0
442 S CERT INT02-C,FLP33-C
0
443 S CERT INT02-C,FLP33-C
0
444 S CERT FLP33-C
0
456 S CERT MSC31-C
-
57 D CERT EXP33-C
80
476 S CERT ARR30-C
0
480 S CERT DCL33-C
1
483 S CERT MEM34-C
0
484 S CERT MEM31-C
0
487 S CERT MEM35-C
0
489 S CERT DCL33-C,FIO43-C
1
493 S CERT INT32-C
0
494 S CERT INT32-C
238
496 S CERT EXP37-C
-
61 X CERT DCL32-C

Number of Violations LDRA Code (M) Mandatory Standards CERT Code
-
64 X CERT ARR30-C
-
69 D CERT EXP33-C
0
562 S Use of ++,-- or = in macro parameters. CERT PRE31-C
-
75 D CERT FIO31-C
-
68 X CERT DCL00-C
-
69 X CERT ARR30-C
0
573 S Macro concatenation of uni char names. CERT PRE30-C
0
575 S Linkage differs from previous declaration. CERT DCL36-C
0
576 S Function pointer is of wrong type. CERT DCL35-C,EXP08-C


Number of Violations LDRA Code (C) Checking (Mandatory) Standards CERT Code

No Standards have been set as Checking.

Number of Violations LDRA Code (O) Optional Standards CERT Code
0
5 S CERT MSC03-C
80 12 S CERT MSC01-C
0
21 S CERT DCL07-C
-
1 D CERT MSC13-C
-
4 D CERT MSC13-C
-
7 D CERT MSC13-C
-
8 D CERT MSC08-C
-
15 D CERT MSC13-C
0
41 S CERT DCL10-C,DCL11-C
49 44 S CERT DCL03-C,INT06-C
6 50 S CERT INT13-C
0
52 S CERT INT02-C
0
54 S CERT EXP06-C
1 57 S CERT MSC03-C,MSC12-C
16 58 S CERT MSC03-C
2 59 S CERT MSC03-C
0
73 S CERT INT12-C
18 79 S CERT PRE03-C
0
81 S CERT PRE07-C
0
85 S CERT INT09-C
18 95 S CERT EXP11-C
0
99 S CERT MSC02-C
0
101 S CERT INT02-C
-
27 D CERT DCL15-C
5 113 S CERT MSC09-C
12 77 S CERT PRE02-C
14 78 S CERT PRE01-C,PRE02-C
20 96 S CERT INT02-C
0
115 S CERT STR03-C
0
119 S CERT MSC04-C
34 120 S CERT INT13-C
0
125 S CERT PRE05-C
3 131 S CERT DCL01-C
15 132 S CERT MSC02-C
0
133 S CERT EXP02-C
29 135 S CERT DCL07-C
4 139 S CERT MSC07-C
0
140 S CERT MSC07-C
0
176 S CERT MSC10-C
65 177 S CERT DCL04-C
21 200 S CERT DCL00-C
392 201 S CERT DCL06-C,EXP07-C,EXP09-C
0
203 S CERT EXP05-C
0
218 S CERT PRE04-C
19 243 S CERT PRE06-C
52 273 S CERT PRE03-C
2 299 S CERT DCL05-C
0
1 J CERT MSC07-C
35 302 S CERT MSC04-C
0
329 S CERT INT07-C

Number of Violations LDRA Code (O) Optional Standards CERT Code
6 331 S CERT INT13-C
0
332 S CERT INT02-C
1 334 S CERT INT02-C
12 340 S CERT PRE00-C
3 352 S CERT DCL12-C
-
50 D CERT MEM00-C
87 361 S CERT EXP00-C
0
376 S CERT MSC10-C
4 381 S CERT DCL05-C
12 382 S CERT EXP12-C
-
53 D CERT EXP08-C
0
387 S CERT DCL08-C
26 400 S CERT EXP03-C
0
401 S CERT ARR00-C
0
406 S CERT EXP02-C
-
54 D CERT EXP08-C
0
408 S CERT EXP02-C
0
432 S CERT INT07-C
0
438 S CERT EXP08-C
5 439 S CERT INT15-C
0
440 S CERT INT15-C
0
446 S CERT INT02-C
0
452 S CERT INT02-C
0
457 S CERT INT02-C
3 458 S CERT INT02-C,INT07-C
0
486 S CERT FIO00-C
0
488 S CERT INT08-C
0
491 S CERT INT02-C
-
61 D CERT DCL15-C
-
62 D CERT DCL13-C
0
515 S CERT DCL04-C
-
65 D CERT MSC12-C
-
70 D CERT MSC12-C
0
553 S Function and proto should both be static. CERT DCL15-C
-
72 D CERT EXP10-C
-
67 X CERT DCL02-C
-
74 D CERT EXP10-C
0
568 S #include "filename" uses standard library name. CERT PRE04-C
0
577 S Sizeof argument is a pointer. CERT EXP01-C
2 578 S Sizeof used in arithmetic expression. CERT EXP03-C
-
78 D CERT DCL00-C
0
584 S Remainder of % op could be negative. CERT INT10-C
18 585 S Bitwise and arith operations on same data. CERT INT14-C
0
586 S Format is not %j for user defined type. CERT INT15-C


Number of Mandatory Standards checked 39
Number of Checking Standards checked 0
Number of Optional Standards checked 77
Total Standards checked 116


ANALYSIS OF 1 FILE(S) IN THIS GROUP HAS FAILED OR NOT BEEN RUN. QUALITY RESULTS NOT SHOWN

D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\hostc.c





OVERALL RESULT: FAIL




Out of 39 program components, 3 (7.69 %) pass ( of which 3 conditionally pass ) and 36 fail ( of which 0 fail only because of insufficient comments )

Procedure Results

Quality Result   Procedure   Source File   Unique Violations    
           
FAIL Global Program
FAIL pvminit calc.c 3 -
FAIL more_workers calc.c 3 -
FAIL stop_workers calc.c 3 -
FAIL do_recalc calc.c 3 -
FAIL assign_work calc.c 3 -
FAIL claim_message calc.c 4 -
Conditional Pass gotmorehosts calc.c 1 -
FAIL setup_color imp.c 8 -
FAIL mkrbow imp.c 3 -
FAIL bsw imp.c 2 -
FAIL repaint_region imp.c 7 -
FAIL cre_xim imp.c 3 -
FAIL refresh_region imp.c 2 -
FAIL main mmain.c 5 -
FAIL mandelbrot mmain.c 4 -
FAIL main mtile.c 3 -
FAIL calc_tile mtile.c 4 -
FAIL main xep.c 4 -
FAIL addaninputfile xep.c 1 -
FAIL removeaninputfile xep.c 1 -
FAIL pvm_cb xep.c 1 -
FAIL quit_cb xep.c 1 -
FAIL reset_cb xep.c 1 -
FAIL zout_cb xep.c 1 -
FAIL zin_cb xep.c 2 -
Conditional Pass bars_cb xep.c 1 -
FAIL color_cb xep.c 1 -
FAIL create_xep_widget xep.c 4 -
FAIL testothervisual xep.c 3 -
FAIL setlabel xep.c 2 -
FAIL configure xep.c 4 -
FAIL redraw xep.c 1 -
FAIL zoom xep.c 1 -
FAIL pick xep.c 3 -
Conditional Pass get_event_xy xep.c 1 -
FAIL rubbox xep.c 2 -
FAIL splat_out xep.c 2 -
FAIL label_row xep.c 4 -


Global Information

Source Files in Group

Name Last Modification Date
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\xep.c Tue Mar 16 09:01:46 1999
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\mtile.c Wed Jul 09 06:56:56 1997
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\mmain.c Fri Jan 30 14:24:06 2009
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\imp.c Wed Feb 16 13:07:00 2000
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\hostc.c Thu Jul 08 12:00:29 1999
D:\Code\SAMATE\SATE2009\sate2009_C_test_cases\c\pvm\pvm3\xep\calc.c Tue Mar 16 09:01:43 1999




Global Basic Information

Number of procedures: 38
Number of locally uncalled procedures: 6
Number of reformatted executable lines: 2731
Number of lines of comments: 974



Summary Report on all Program Components which FAIL



Globals / code outside procedures - FAIL

Standards Violation Summary - All files

Code File: Src Line Violation Standard
O calc.c: 3 Non standard character $ in source. CERT MSC09-C
O calc.c: 58 Included file not protected with #define. CERT PRE06-C
O bfunc.h: 63 Found #define. CERT PRE03-C
O bfunc.h: 64 Found #define. CERT PRE03-C
O bfunc.h: 65 Found #define. CERT PRE03-C
O bfunc.h: 68 Found #define. CERT PRE03-C
O bfunc.h: 68 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 68 Macro replacement list needs parentheses. CERT PRE02-C
O bfunc.h: 69 Found #define. CERT PRE03-C
O bfunc.h: 69 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 69 Macro replacement list needs parentheses. CERT PRE02-C
O bfunc.h: 70 Found #define. CERT PRE03-C
O bfunc.h: 70 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O bfunc.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
O calc.c: 59 Included file not protected with #define. CERT PRE06-C
O listmac.h: 68 Found #define. CERT PRE03-C
O listmac.h: 68 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 68 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 68 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 69 Found #define. CERT PRE03-C
O listmac.h: 69 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 69 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 69 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 70 Found #define. CERT PRE03-C
O listmac.h: 70 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 70 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 72 Found #define. CERT PRE03-C
O listmac.h: 72 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 72 Use of function like macro. CERT PRE00-C
O listmac.h: 72 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 73 Found #define. CERT PRE03-C
O listmac.h: 73 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 73 Use of function like macro. CERT PRE00-C
O listmac.h: 73 Macro contains unacceptable items CERT PRE03-C
O listmac.h: 74 Found #define. CERT PRE03-C
O listmac.h: 74 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O listmac.h: 74 Macro replacement list needs parentheses. CERT PRE02-C
O listmac.h: 74 Macro contains unacceptable items CERT PRE03-C
O calc.c: 60 Included file not protected with #define. CERT PRE06-C
O myalloc.h: 55 Found #define. CERT PRE03-C
O myalloc.h: 56 Found #define. CERT PRE03-C
O myalloc.h: 57 Found #define. CERT PRE03-C
O myalloc.h: 60 Found #define. CERT PRE03-C
O myalloc.h: 60 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 60 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 60 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 61 Found #define. CERT PRE03-C
O myalloc.h: 61 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 61 Macro replacement list needs parentheses. CERT PRE02-C

Code File: Src Line Violation Standard
O myalloc.h: 61 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 62 Found #define. CERT PRE03-C
O myalloc.h: 62 Use of banned function or variable. CERT DCL03-C,INT06-C
O myalloc.h: 62 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 65 Found #define. CERT PRE03-C
O myalloc.h: 65 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 65 Use of function like macro. CERT PRE00-C
O myalloc.h: 65 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 66 Found #define. CERT PRE03-C
O myalloc.h: 66 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 66 Use of function like macro. CERT PRE00-C
O myalloc.h: 66 Macro contains unacceptable items CERT PRE03-C
O myalloc.h: 68 Found #define. CERT PRE03-C
O myalloc.h: 68 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O myalloc.h: 68 Macro replacement list needs parentheses. CERT PRE02-C
O myalloc.h: 68 Macro contains unacceptable items CERT PRE03-C
O calc.c: 61 Included file not protected with #define. CERT PRE06-C
O hostc.h: 51 Enum, struct or union not typedeffed. CERT DCL05-C
O hostc.h: 52 Identifier not declared on new line. CERT DCL04-C
O hostc.h: 62 Identifier not declared on new line. CERT DCL04-C
O hostc.h: 62 Pointer to function declared without typedef. CERT DCL05-C
O hostc.h: 62 Identifier not declared on new line. CERT DCL04-C
O hostc.h: 62 Pointer to function declared without typedef. CERT DCL05-C
M hostc.h: 66 Declaration is missing type. CERT DCL31-C
O calc.c: 62 Included file not protected with #define. CERT PRE06-C
O imp.h: 34 Enum, struct or union not typedeffed. CERT DCL05-C
O calc.c: 66 Found #define. CERT PRE03-C
O calc.c: 66 Use of function like macro. CERT PRE00-C
O calc.c: 66 Macro contains unacceptable items CERT PRE03-C
O calc.c: 69 Found #define. CERT PRE03-C
O calc.c: 69 Use of function like macro. CERT PRE00-C
O calc.c: 69 Macro contains unacceptable items CERT PRE03-C
O calc.c: 73 Found #define. CERT PRE03-C
O calc.c: 73 Define used for numeric constant. CERT DCL00-C
O calc.c: 74 Found #define. CERT PRE03-C
O calc.c: 74 Define used for numeric constant. CERT DCL00-C
O calc.c: 75 Found #define. CERT PRE03-C
O calc.c: 75 Define used for numeric constant. CERT DCL00-C
O calc.c: 76 Found #define. CERT PRE03-C
O calc.c: 76 Define used for numeric constant. CERT DCL00-C
O calc.c: 77 Found #define. CERT PRE03-C
O calc.c: 77 Define used for numeric constant. CERT DCL00-C
O calc.c: 78 Found #define. CERT PRE03-C
O calc.c: 78 Define used for numeric constant. CERT DCL00-C
O calc.c: 79 Found #define. CERT PRE03-C
O calc.c: 79 Define used for numeric constant. CERT DCL00-C
O calc.c: 81 Found #define. CERT PRE03-C
O calc.c: 81 Define used for numeric constant. CERT DCL00-C
O calc.c: 83 Declaration of type not in header file. CERT DCL12-C
O calc.c: 83 Enum, struct or union not typedeffed. CERT DCL05-C

Code File: Src Line Violation Standard
O calc.c: 84 Identifier not declared on new line. CERT DCL04-C
O calc.c: 88 Declaration of type not in header file. CERT DCL12-C
O calc.c: 88 Enum, struct or union not typedeffed. CERT DCL05-C
O calc.c: 91 Identifier not declared on new line. CERT DCL04-C
O imp.c: 3 Non standard character $ in source. CERT MSC09-C
O imp.c: 56 Included file not protected with #define. CERT PRE06-C
O imp.c: 57 Included file not protected with #define. CERT PRE06-C
O imp.c: 58 Included file not protected with #define. CERT PRE06-C
O imp.c: 60 Found #define. CERT PRE03-C
O imp.c: 60 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O imp.c: 60 Use of banned function or variable. CERT DCL03-C,INT06-C
O imp.c: 60 Use of function like macro. CERT PRE00-C
O imp.c: 60 Macro contains unacceptable items CERT PRE03-C
O imp.c: 63 Found #define. CERT PRE03-C
O imp.c: 63 Use of function like macro. CERT PRE00-C
O imp.c: 63 Macro contains unacceptable items CERT PRE03-C
O imp.c: 66 Found #define. CERT PRE03-C
O imp.c: 66 Use of function like macro. CERT PRE00-C
O imp.c: 66 Macro contains unacceptable items CERT PRE03-C
O imp.c: 70 Found #define. CERT PRE03-C
O imp.c: 70 Define used for numeric constant. CERT DCL00-C
O imp.c: 73 Found #define. CERT PRE03-C
O imp.c: 73 Use of function like macro. CERT PRE00-C
O imp.c: 79 Found #define. CERT PRE03-C
O imp.c: 79 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
O imp.c: 79 Macro replacement list needs parentheses. CERT PRE02-C
O imp.c: 81 Found #define. CERT PRE03-C
O mmain.c: 3 Non standard character $ in source. CERT MSC09-C
O mmain.c: 57 Included file not protected with #define. CERT PRE06-C
O mtile.c: 3 Non standard character $ in source. CERT MSC09-C
O xep.c: 3 Non standard character $ in source. CERT MSC09-C
O xep.c: 58 Included file not protected with #define. CERT PRE06-C
O xep.c: 59 Included file not protected with #define. CERT PRE06-C
O xep.c: 60 Included file not protected with #define. CERT PRE06-C
O xep.c: 61 Included file not protected with #define. CERT PRE06-C
O xep.c: 62 Found #define. CERT PRE03-C
O xep.c: 62 Included file not protected with #define. CERT PRE06-C
O bars.xbm: 1 Define used for numeric constant. CERT DCL00-C
O bars.xbm: 2 Found #define. CERT PRE03-C
O bars.xbm: 2 Define used for numeric constant. CERT DCL00-C
O xep.c: 63 Included file not protected with #define. CERT PRE06-C
O xep.c: 63 Found #define. CERT PRE03-C
O color.xbm: 1 Define used for numeric constant. CERT DCL00-C
O color.xbm: 2 Found #define. CERT PRE03-C
O color.xbm: 2 Define used for numeric constant. CERT DCL00-C
M color.xbm: 3 Value is not of appropriate type. : char unsigned char { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x3e CERT INT01-C,INT02-C,INT07-C
M color.xbm: 5 Value is not of appropriate type. : char unsigned char , 0x01 , 0x40 CERT INT01-C,INT02-C,INT07-C
M color.xbm: 7 Value is not of appropriate type. : char unsigned char , 0x9f CERT INT01-C,INT02-C,INT07-C
O xep.c: 64 Included file not protected with #define. CERT PRE06-C
O xep.c: 64 Found #define. CERT PRE03-C

Code File: Src Line Violation Standard
O reset.xbm: 1 Define used for numeric constant. CERT DCL00-C
O reset.xbm: 2 Found #define. CERT PRE03-C
O reset.xbm: 2 Define used for numeric constant. CERT DCL00-C
M reset.xbm: 3 Value is not of appropriate type. : char unsigned char { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x60 CERT INT01-C,INT02-C,INT07-C
M reset.xbm: 5 Value is not of appropriate type. : char unsigned char , 0x3f CERT INT01-C,INT02-C,INT07-C
O xep.c: 65 Found #define. CERT PRE03-C
O xep.c: 65 Included file not protected with #define. CERT PRE06-C
O quit.xbm: 1 Define used for numeric constant. CERT DCL00-C
O quit.xbm: 2 Found #define. CERT PRE03-C
O quit.xbm: 2 Define used for numeric constant. CERT DCL00-C
M quit.xbm: 3 Value is not of appropriate type. : char unsigned char { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x80 CERT INT01-C,INT02-C,INT07-C
M quit.xbm: 5 Value is not of appropriate type. : char unsigned char 0x0f CERT INT01-C,INT02-C,INT07-C
O xep.c: 66 Found #define. CERT PRE03-C
O xep.c: 66 Included file not protected with #define. CERT PRE06-C
O into.xbm: 1 Define used for numeric constant. CERT DCL00-C
O into.xbm: 2 Found #define. CERT PRE03-C
O into.xbm: 2 Define used for numeric constant. CERT DCL00-C
M into.xbm: 3 Value is not of appropriate type. : char unsigned char { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xfc CERT INT01-C,INT02-C,INT07-C
M into.xbm: 5 Value is not of appropriate type. : char unsigned char 0x21 CERT INT01-C,INT02-C,INT07-C
O xep.c: 67 Found #define. CERT PRE03-C
O xep.c: 67 Included file not protected with #define. CERT PRE06-C
O outof.xbm: 1 Define used for numeric constant. CERT DCL00-C
O outof.xbm: 2 Found #define. CERT PRE03-C
O outof.xbm: 2 Define used for numeric constant. CERT DCL00-C
M outof.xbm: 3 Value is not of appropriate type. : char unsigned char { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0xe0 CERT INT01-C,INT02-C,INT07-C
M outof.xbm: 5 Value is not of appropriate type. : char unsigned char , 0x00 , 0x82 CERT INT01-C,INT02-C,INT07-C
O xep.c: 71 Found #define. CERT PRE03-C
O xep.c: 71 Use of function like macro. CERT PRE00-C
O xep.c: 71 Macro contains unacceptable items CERT PRE03-C
O xep.c: 74 Found #define. CERT PRE03-C
O xep.c: 74 Use of function like macro. CERT PRE00-C
O xep.c: 74 Macro contains unacceptable items CERT PRE03-C
O xep.c: 142 Declaration of type not in header file. CERT DCL12-C
O xep.c: 152 Use of sizeof on a type. CERT EXP03-C
M xep.c: 152 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
O xep.c: 155 Use of sizeof on a type. CERT EXP03-C
M xep.c: 155 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
O xep.c: 158 Use of sizeof on a type. CERT EXP03-C
M xep.c: 158 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
O xep.c: 160 Use of sizeof on a type. CERT EXP03-C
M xep.c: 160 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

[ Top of Report | Key to Terms | Procedure Table | Contents ]






pvminit
(116 to 139 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 116 Declaration is missing type. CERT DCL31-C
M 118 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 118 function call with no prior declaration. CERT EXP37-C
M 118 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 121 function call with no prior declaration. CERT EXP37-C
M 121 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 122 function call with no prior declaration. CERT EXP37-C
M 122 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 126 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 127 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 130 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 131 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 135 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 136 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






more_workers
(142 to 197 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 142 Declaration is missing type. CERT DCL31-C
M 152 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 152 function call with no prior declaration. CERT EXP37-C
M 152 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 160 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 160 function call with no prior declaration. CERT EXP37-C
M 160 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 163 function call with no prior declaration. CERT EXP37-C
M 163 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 170 function call with no prior declaration. CERT EXP37-C
M 170 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 176 function call with no prior declaration. CERT EXP37-C
M 176 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 178 function call with no prior declaration. CERT EXP37-C
M 178 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 182 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 187 function call with no prior declaration. CERT EXP37-C
M 187 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 195 function call with no prior declaration. CERT EXP37-C
M 195 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






stop_workers
(200 to 237 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 200 Declaration is missing type. CERT DCL31-C
M 204 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 208 function call with no prior declaration. CERT EXP37-C
M 208 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 209 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 214 function call with no prior declaration. CERT EXP37-C
M 214 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 217 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 219 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 223 function call with no prior declaration. CERT EXP37-C
M 223 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 224 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 229 function call with no prior declaration. CERT EXP37-C
M 229 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 232 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 235 function call with no prior declaration. CERT EXP37-C
M 235 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






do_recalc
(240 to 286 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 240 Declaration is missing type. CERT DCL31-C
M 249 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 250 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 251 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 256 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 264 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 269 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 274 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 279 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 284 function call with no prior declaration. CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






assign_work
(294 to 346 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 294 Declaration is missing type. CERT DCL31-C
M 312 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 319 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 327 function call with no prior declaration. CERT EXP37-C
M 327 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 328 function call with no prior declaration. CERT EXP37-C
M 328 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 329 function call with no prior declaration. CERT EXP37-C
M 329 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 334 function call with no prior declaration. CERT EXP37-C
M 334 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 343 function call with no prior declaration. CERT EXP37-C
M 343 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 344 function call with no prior declaration. CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






claim_message
(349 to 523 calc.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 349 Declaration is missing type. CERT DCL31-C
M 364 function call with no prior declaration. CERT EXP37-C
M 364 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 370 function call with no prior declaration. CERT EXP37-C
M 370 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 373 function call with no prior declaration. CERT EXP37-C
M 373 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 376 function call with no prior declaration. CERT EXP37-C
M 376 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 379 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 384 function call with no prior declaration. CERT EXP37-C
M 384 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 387 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 389 function call with no prior declaration. CERT EXP37-C
M 389 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 397 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 409 function call with no prior declaration. CERT EXP37-C
M 409 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 410 function call with no prior declaration. CERT EXP37-C
M 410 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 412 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 418 function call with no prior declaration. CERT EXP37-C
M 418 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 421 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 423 function call with no prior declaration. CERT EXP37-C
M 423 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 439 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 442 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 452 function call with no prior declaration. CERT EXP37-C
M 452 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 455 function call with no prior declaration. CERT EXP37-C
M 455 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 457 function call with no prior declaration. CERT EXP37-C
M 457 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 458 function call with no prior declaration. CERT EXP37-C
M 458 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 461 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 475 function call with no prior declaration. CERT EXP37-C
M 475 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 476 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 485 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 489 function call with no prior declaration. CERT EXP37-C
M 489 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 490 function call with no prior declaration. CERT EXP37-C
M 490 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 497 function call with no prior declaration. CERT EXP37-C
M 497 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 498 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 507 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 517 function call with no prior declaration. CERT EXP37-C

Code Line Violation Standard
M 517 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






setup_color
(138 to 271 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 138 Declaration is missing type. CERT DCL31-C
M 147 function call with no prior declaration. CERT EXP37-C
M 147 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 151 function call with no prior declaration. CERT EXP37-C
M 151 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 158 function call with no prior declaration. CERT EXP37-C
M 158 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 159 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 159 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 164 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 164 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 166 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 166 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 168 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 168 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 169 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 172 function call with no prior declaration. CERT EXP37-C
M 172 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 174 function call with no prior declaration. CERT EXP37-C
M 174 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 175 function call with no prior declaration. CERT EXP37-C
M 175 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 176 function call with no prior declaration. CERT EXP37-C
M 176 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 179 function call with no prior declaration. CERT EXP37-C
M 179 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 180 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 180 Signed/unsigned conversion without cast. : unsigned int int * ( char * ) & mbo CERT INT02-C,INT31-C,STR34-C
M 183 function call with no prior declaration. CERT EXP37-C
M 183 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 192 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 192 function call with no prior declaration. CERT EXP37-C
M 192 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 193 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 196 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 196 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 197 Array index not unsigned. CERT ARR30-C
M 197 Value is not of appropriate type. : unsigned int int pfv [ i CERT INT01-C,INT02-C,INT07-C
M 199 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 202 Array index not unsigned. CERT ARR30-C
M 202 Value is not of appropriate type. : unsigned int int xBpp = pfv [ i CERT INT01-C,INT02-C,INT07-C
M 205 function call with no prior declaration. CERT EXP37-C
M 205 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 207 function call with no prior declaration. CERT EXP37-C
M 207 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 209 function call with no prior declaration. CERT EXP37-C
M 209 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 217 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 218 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 219 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 224 Array index not unsigned. CERT ARR30-C
M 224 Value is not of appropriate type. : unsigned int int lutr [ i CERT INT01-C,INT02-C,INT07-C
M 224 Value is not of appropriate type. : unsigned int int lutr [ i ] = lutg [ i CERT INT01-C,INT02-C,INT07-C
M 224 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 224 Value is not of appropriate type. : unsigned int int lutr [ i ] = lutg [ i ] = lutb [ i CERT INT01-C,INT02-C,INT07-C
M 224 Signed/unsigned conversion without cast. : unsigned int int lutr [ i ] = lutg [ i ] = lutb [ i ] = i CERT INT02-C,INT31-C,STR34-C
M 228 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 234 function call with no prior declaration. CERT EXP37-C
M 234 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 239 Array index not unsigned. CERT ARR30-C
M 239 Value is not of appropriate type. : unsigned int int colr.red = rbor [ i CERT INT01-C,INT02-C,INT07-C
M 240 Array index not unsigned. CERT ARR30-C
M 240 Value is not of appropriate type. : unsigned int int colr.green = rbog [ i CERT INT01-C,INT02-C,INT07-C
M 241 Array index not unsigned. CERT ARR30-C
M 241 Value is not of appropriate type. : unsigned int int colr.blue = rbob [ i CERT INT01-C,INT02-C,INT07-C
M 243 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 243 Numeric overflow CERT INT32-C
M 244 function call with no prior declaration. CERT EXP37-C
M 244 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 249 function call with no prior declaration. CERT EXP37-C
M 249 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 253 Array index not unsigned. CERT ARR30-C
M 253 Value is not of appropriate type. : unsigned int int cmapColors [ i CERT INT01-C,INT02-C,INT07-C
M 262 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 263 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 263 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 269 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 236 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






mkrbow
(281 to 307 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 292 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 292 function call with no prior declaration. CERT EXP37-C
M 292 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 292 Value is not of appropriate type. : int double ( j - len CERT INT01-C,INT02-C,INT07-C
M 294 Array index not unsigned. CERT ARR30-C
M 294 Value is not of appropriate type. : unsigned int int b [ i CERT INT01-C,INT02-C,INT07-C
M 295 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 295 function call with no prior declaration. CERT EXP37-C
M 295 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 295 Value is not of appropriate type. : int double ( j - len CERT INT01-C,INT02-C,INT07-C
M 297 Array index not unsigned. CERT ARR30-C
M 297 Value is not of appropriate type. : unsigned int int g [ i CERT INT01-C,INT02-C,INT07-C
M 298 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 298 function call with no prior declaration. CERT EXP37-C
M 298 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 298 Value is not of appropriate type. : int double ( j - len CERT INT01-C,INT02-C,INT07-C
M 300 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 300 function call with no prior declaration. CERT EXP37-C
M 300 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 300 Value is not of appropriate type. : int double ( double ) ( j * ( 3.1415926535 / CERT INT01-C,INT02-C,INT07-C
M 302 Array index not unsigned. CERT ARR30-C
M 302 Value is not of appropriate type. : unsigned int int r [ i CERT INT01-C,INT02-C,INT07-C
M 304 Array index not unsigned. CERT ARR30-C
M 304 Value is not of appropriate type. : unsigned int int r [ i CERT INT01-C,INT02-C,INT07-C
M 304 Value is not of appropriate type. : unsigned int int r [ i ] = g [ i CERT INT01-C,INT02-C,INT07-C
M 304 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 304 Value is not of appropriate type. : unsigned int int r [ i ] = g [ i ] = b [ i CERT INT01-C,INT02-C,INT07-C
M 304 Signed/unsigned conversion without cast. : unsigned int int r [ i ] = g [ i ] = b [ i ] = mxval CERT INT02-C,INT31-C,STR34-C
M 305 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






bsw
(315 to 363 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 315 Declaration is missing type. CERT DCL31-C
M 357 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 358 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






repaint_region
(371 to 643 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 371 Declaration is missing type. CERT DCL31-C
M 382 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 382 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 384 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 384 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 407 Array index not unsigned. CERT ARR30-C
M 407 Value is not of appropriate type. : unsigned int int msks [ lbs CERT INT01-C,INT02-C,INT07-C
M 409 Value is not of appropriate type. : unsigned int int msks [ 7 - lbs CERT INT01-C,INT02-C,INT07-C
M 421 Array index not unsigned. CERT ARR30-C
M 421 Value is not of appropriate type. : unsigned int int * sa > ditclass [ dx & 7 CERT INT01-C,INT02-C,INT07-C
M 421 Value is not of appropriate type. : unsigned int int * sa > ditclass [ dx & 7 ] [ dy & 7 CERT INT01-C,INT02-C,INT07-C
M 422 Array index not unsigned. CERT ARR30-C
M 422 Value is not of appropriate type. : unsigned int int pxa |= msks [ dx & 7 CERT INT01-C,INT02-C,INT07-C
M 423 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 424 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 427 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 427 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 434 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 436 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 436 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 464 Modification of string literal. CERT STR05-C,STR30-C
M 464 Type conversion without cast. : char unsigned long da = cmapColors CERT INT02-C,INT31-C
M 467 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 467 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 474 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 474 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 510 Signed/unsigned conversion without cast. : unsigned int int pixv = redMask CERT INT02-C,INT31-C,STR34-C
M 510 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 512 Signed/unsigned conversion without cast. : unsigned int int pixv = redMask CERT INT02-C,INT31-C,STR34-C
M 512 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 512 Negative (or potentially negative) shift. CERT INT34-C
M 514 Signed/unsigned conversion without cast. : unsigned int int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 514 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 516 Signed/unsigned conversion without cast. : unsigned int int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 516 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 516 Negative (or potentially negative) shift. CERT INT34-C
M 518 Signed/unsigned conversion without cast. : unsigned int int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 518 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 520 Signed/unsigned conversion without cast. : unsigned int int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 520 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 520 Negative (or potentially negative) shift. CERT INT34-C
M 522 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 523 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 525 Modification of string literal. CERT STR05-C,STR30-C
M 527 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 527 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 534 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 534 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 552 Modification of string literal. CERT STR05-C,STR30-C
M 559 Signed/unsigned conversion without cast. : unsigned short int pixv = redMask CERT INT02-C,INT31-C,STR34-C

Code Line Violation Standard
M 559 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 561 Signed/unsigned conversion without cast. : unsigned short int pixv = redMask CERT INT02-C,INT31-C,STR34-C
M 561 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 561 Negative (or potentially negative) shift. CERT INT34-C
M 563 Signed/unsigned conversion without cast. : unsigned short int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 563 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 565 Signed/unsigned conversion without cast. : unsigned short int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 565 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 565 Negative (or potentially negative) shift. CERT INT34-C
M 567 Signed/unsigned conversion without cast. : unsigned short int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 567 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 569 Signed/unsigned conversion without cast. : unsigned short int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 569 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 569 Negative (or potentially negative) shift. CERT INT34-C
M 571 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 572 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 574 Modification of string literal. CERT STR05-C,STR30-C
M 576 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 576 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 583 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 583 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 601 Modification of string literal. CERT STR05-C,STR30-C
M 608 Signed/unsigned conversion without cast. : unsigned char int pixv = redMask CERT INT02-C,INT31-C,STR34-C
M 608 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 610 Signed/unsigned conversion without cast. : unsigned char int pixv = redMask CERT INT02-C,INT31-C,STR34-C
M 610 Signed/unsigned conversion without cast. : int unsigned int pixv = redMask & ( CERT INT02-C,INT31-C,STR34-C
M 610 Negative (or potentially negative) shift. CERT INT34-C
M 612 Signed/unsigned conversion without cast. : unsigned char int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 612 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 614 Signed/unsigned conversion without cast. : unsigned char int pixv |= greenMask CERT INT02-C,INT31-C,STR34-C
M 614 Signed/unsigned conversion without cast. : int unsigned int pixv |= greenMask & ( CERT INT02-C,INT31-C,STR34-C
M 614 Negative (or potentially negative) shift. CERT INT34-C
M 616 Signed/unsigned conversion without cast. : unsigned char int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 616 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 618 Signed/unsigned conversion without cast. : unsigned char int pixv |= blueMask CERT INT02-C,INT31-C,STR34-C
M 618 Signed/unsigned conversion without cast. : int unsigned int pixv |= blueMask & ( CERT INT02-C,INT31-C,STR34-C
M 618 Negative (or potentially negative) shift. CERT INT34-C
M 619 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 621 Modification of string literal. CERT STR05-C,STR30-C
M 623 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 623 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 630 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 630 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 637 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






cre_xim
(651 to 677 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 651 Declaration is missing type. CERT DCL31-C
M 659 function call with no prior declaration. CERT EXP37-C
M 659 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 662 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 663 function call with no prior declaration. CERT EXP37-C
M 663 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 667 Modification of string literal. CERT STR05-C,STR30-C
M 667 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 668 function call with no prior declaration. CERT EXP37-C
M 668 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Modification of string literal. CERT STR05-C,STR30-C
M 672 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 673 function call with no prior declaration. CERT EXP37-C
M 673 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






refresh_region
(685 to 692 imp.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 685 Declaration is missing type. CERT DCL31-C
M 689 function call with no prior declaration. CERT EXP37-C
M 689 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






main
(64 to 150 mmain.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 64 Declaration is missing type. CERT DCL31-C
M 77 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 78 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 79 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 80 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 81 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 82 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 85 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 91 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 91 function call with no prior declaration. CERT EXP37-C
M 91 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 98 function call with no prior declaration. CERT EXP37-C
M 98 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 101 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 105 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 114 function call with no prior declaration. CERT EXP37-C
M 114 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 114 Array index not unsigned. CERT ARR30-C
M 114 Value is not of appropriate type. : unsigned int int pvm_spawn ( "mtile" , ( char ** ) 0 , 0 , "" , 1 , & prtids [ i CERT INT01-C,INT02-C,INT07-C
M 115 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 116 function call with no prior declaration. CERT EXP37-C
M 116 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 126 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 127 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 127 function call with no prior declaration. CERT EXP37-C
M 127 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 128 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 131 function call with no prior declaration. CERT EXP37-C
M 131 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 132 function call with no prior declaration. CERT EXP37-C
M 132 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 133 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 139 function call with no prior declaration. CERT EXP37-C
M 139 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 139 Array index not unsigned. CERT ARR30-C
M 139 Value is not of appropriate type. : unsigned int int pvm_kill ( prtids [ i CERT INT01-C,INT02-C,INT07-C
M 143 function call with no prior declaration. CERT EXP37-C
M 143 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 147 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






mandelbrot
(152 to 236 mmain.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 169 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 173 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 180 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 182 function call with no prior declaration. CERT EXP37-C
M 182 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 183 Array index not unsigned. CERT ARR30-C
M 183 Value is not of appropriate type. : unsigned int int tpos [ i + 1 CERT INT01-C,INT02-C,INT07-C
M 184 Array index not unsigned. CERT ARR30-C
M 184 Value is not of appropriate type. : unsigned int int wdht [ 0 ] = tpos [ i + 1 CERT INT01-C,INT02-C,INT07-C
M 184 Value is not of appropriate type. : unsigned int int wdht [ 0 ] = tpos [ i + 1 ] - tpos [ i CERT INT01-C,INT02-C,INT07-C
M 187 Array index not unsigned. CERT ARR30-C
M 187 Value is not of appropriate type. : unsigned int int xyxy [ 2 ] = ( tpos [ i + 1 CERT INT01-C,INT02-C,INT07-C
M 188 function call with no prior declaration. CERT EXP37-C
M 188 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 189 function call with no prior declaration. CERT EXP37-C
M 189 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 190 function call with no prior declaration. CERT EXP37-C
M 190 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 190 Array index not unsigned. CERT ARR30-C
M 190 Value is not of appropriate type. : unsigned int int pvm_send ( prtids [ i CERT INT01-C,INT02-C,INT07-C
M 191 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 191 Array index not unsigned. CERT ARR30-C
M 191 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "error sending to <%x>\n" , prtids [ i CERT INT01-C,INT02-C,INT07-C
M 192 function call with no prior declaration. CERT EXP37-C
M 192 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 200 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 201 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 201 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 203 function call with no prior declaration. CERT EXP37-C
M 203 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 204 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 205 function call with no prior declaration. CERT EXP37-C
M 205 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 208 function call with no prior declaration. CERT EXP37-C
M 208 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 213 Array index not unsigned. CERT ARR30-C
M 213 Value is not of appropriate type. : unsigned int int prtids [ j CERT INT01-C,INT02-C,INT07-C
M 215 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 216 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 217 Array index not unsigned. CERT ARR30-C
M 217 Value is not of appropriate type. : unsigned int int twd = tpos [ j + 1 CERT INT01-C,INT02-C,INT07-C
M 217 Value is not of appropriate type. : unsigned int int twd = tpos [ j + 1 ] - tpos [ j CERT INT01-C,INT02-C,INT07-C
M 218 function call with no prior declaration. CERT EXP37-C
M 218 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 220 Array index not unsigned. CERT ARR30-C
M 220 Value is not of appropriate type. : unsigned int int ba2 = pix + tpos [ j CERT INT01-C,INT02-C,INT07-C
M 222 function call with no prior declaration. CERT EXP37-C
M 222 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 223 Modification of string literal. CERT STR05-C,STR30-C
M 224 Modification of string literal. CERT STR05-C,STR30-C

Code Line Violation Standard
M 228 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 232 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 233 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 234 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 235 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






main
(56 to 99 mtile.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 56 Declaration is missing type. CERT DCL31-C
M 67 function call with no prior declaration. CERT EXP37-C
M 67 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 71 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 71 function call with no prior declaration. CERT EXP37-C
M 71 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 72 function call with no prior declaration. CERT EXP37-C
M 72 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 73 function call with no prior declaration. CERT EXP37-C
M 73 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 82 function call with no prior declaration. CERT EXP37-C
M 82 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 90 function call with no prior declaration. CERT EXP37-C
M 90 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 91 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 94 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 94 free parameter is not heap item. CERT MEM34-C
M 96 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 97 function call with no prior declaration. CERT EXP37-C
M 97 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






calc_tile
(102 to 140 mtile.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 115 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 116 function call with no prior declaration. CERT EXP37-C
M 116 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 119 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 136 Modification of string literal. CERT STR05-C,STR30-C
M 136 Array index not unsigned. CERT ARR30-C
M 136 Value is not of appropriate type. : unsigned int int pix [ iy * wd + ix CERT INT01-C,INT02-C,INT07-C
M 139 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






main
(187 to 260 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 187 Declaration is missing type. CERT DCL31-C
M 195 function call with no prior declaration. CERT EXP37-C
M 195 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 197 function call with no prior declaration. CERT EXP37-C
M 197 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 205 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 205 Array index not unsigned. CERT ARR30-C
M 205 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "unknown option <%s>\n" , argv [ n CERT INT01-C,INT02-C,INT07-C
M 206 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 207 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 208 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 209 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 210 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 217 function call with no prior declaration. CERT EXP37-C
M 217 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 221 Type conversion without cast. : int bool dobars = app_res.bars CERT INT02-C,INT31-C
M 223 function call with no prior declaration. CERT EXP37-C
M 223 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 225 function call with no prior declaration. CERT EXP37-C
M 225 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 227 function call with no prior declaration. CERT EXP37-C
M 227 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 228 function call with no prior declaration. CERT EXP37-C
M 228 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 229 function call with no prior declaration. CERT EXP37-C
M 229 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 231 function call with no prior declaration. CERT EXP37-C
M 231 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 234 function call with no prior declaration. CERT EXP37-C
M 234 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 239 function call with no prior declaration. CERT EXP37-C
M 239 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 242 function call with no prior declaration. CERT EXP37-C
M 244 function call with no prior declaration. CERT EXP37-C
M 244 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 245 function call with no prior declaration. CERT EXP37-C
M 245 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 247 function call with no prior declaration. CERT EXP37-C
M 247 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 257 function call with no prior declaration. CERT EXP37-C
M 259 function call with no prior declaration. CERT EXP37-C
M 259 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 257 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






addaninputfile
(263 to 276 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 270 function call with no prior declaration. CERT EXP37-C
M 270 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 272 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






removeaninputfile
(279 to 285 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 283 function call with no prior declaration. CERT EXP37-C
M 283 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






pvm_cb
(288 to 296 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 294 function call with no prior declaration. CERT EXP37-C
M 294 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 295 function call with no prior declaration. CERT EXP37-C
M 295 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






quit_cb
(299 to 308 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 305 function call with no prior declaration. CERT EXP37-C
M 305 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 306 function call with no prior declaration. CERT EXP37-C
M 306 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






reset_cb
(311 to 337 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 329 function call with no prior declaration. CERT EXP37-C
M 329 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 330 function call with no prior declaration. CERT EXP37-C
M 330 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 331 function call with no prior declaration. CERT EXP37-C
M 331 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 336 function call with no prior declaration. CERT EXP37-C
M 336 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






zout_cb
(340 to 364 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 355 function call with no prior declaration. CERT EXP37-C
M 355 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 356 function call with no prior declaration. CERT EXP37-C
M 356 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 357 function call with no prior declaration. CERT EXP37-C
M 357 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 363 function call with no prior declaration. CERT EXP37-C
M 363 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






zin_cb
(367 to 413 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 403 function call with no prior declaration. CERT EXP37-C
M 403 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 404 function call with no prior declaration. CERT EXP37-C
M 404 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 405 function call with no prior declaration. CERT EXP37-C
M 405 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 411 function call with no prior declaration. CERT EXP37-C
M 411 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






color_cb
(426 to 436 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 433 function call with no prior declaration. CERT EXP37-C
M 433 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 434 function call with no prior declaration. CERT EXP37-C
M 434 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 435 function call with no prior declaration. CERT EXP37-C
M 435 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






create_xep_widget
(439 to 616 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 439 Declaration is missing type. CERT DCL31-C
M 448 function call with no prior declaration. CERT EXP37-C
M 448 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 456 function call with no prior declaration. CERT EXP37-C
M 456 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 456 Array index not unsigned. CERT ARR30-C
M 456 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 457 function call with no prior declaration. CERT EXP37-C
M 457 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 457 Array index not unsigned. CERT ARR30-C
M 457 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 458 function call with no prior declaration. CERT EXP37-C
M 458 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 458 Array index not unsigned. CERT ARR30-C
M 458 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 459 function call with no prior declaration. CERT EXP37-C
M 459 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 459 Array index not unsigned. CERT ARR30-C
M 459 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 460 function call with no prior declaration. CERT EXP37-C
M 460 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 460 Array index not unsigned. CERT ARR30-C
M 460 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 461 function call with no prior declaration. CERT EXP37-C
M 461 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 461 Array index not unsigned. CERT ARR30-C
M 461 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 462 function call with no prior declaration. CERT EXP37-C
M 462 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 465 function call with no prior declaration. CERT EXP37-C
M 465 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 465 Array index not unsigned. CERT ARR30-C
M 465 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 466 function call with no prior declaration. CERT EXP37-C
M 466 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 470 function call with no prior declaration. CERT EXP37-C
M 470 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 470 Array index not unsigned. CERT ARR30-C
M 470 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 471 function call with no prior declaration. CERT EXP37-C
M 471 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 471 Array index not unsigned. CERT ARR30-C
M 471 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 472 function call with no prior declaration. CERT EXP37-C
M 472 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 472 Array index not unsigned. CERT ARR30-C
M 472 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 478 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 478 function call with no prior declaration. CERT EXP37-C
M 478 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 482 function call with no prior declaration. CERT EXP37-C
M 482 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 482 Array index not unsigned. CERT ARR30-C
M 482 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 483 function call with no prior declaration. CERT EXP37-C
M 483 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 483 Array index not unsigned. CERT ARR30-C
M 483 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 484 function call with no prior declaration. CERT EXP37-C
M 484 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 488 function call with no prior declaration. CERT EXP37-C
M 488 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 488 Array index not unsigned. CERT ARR30-C
M 488 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 489 function call with no prior declaration. CERT EXP37-C
M 489 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 489 Array index not unsigned. CERT ARR30-C
M 489 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 490 function call with no prior declaration. CERT EXP37-C
M 490 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 490 Array index not unsigned. CERT ARR30-C
M 490 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 491 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 491 function call with no prior declaration. CERT EXP37-C
M 491 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 495 function call with no prior declaration. CERT EXP37-C
M 495 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 495 Array index not unsigned. CERT ARR30-C
M 495 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 496 function call with no prior declaration. CERT EXP37-C
M 496 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 496 Array index not unsigned. CERT ARR30-C
M 496 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 497 function call with no prior declaration. CERT EXP37-C
M 497 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 497 Array index not unsigned. CERT ARR30-C
M 497 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 498 function call with no prior declaration. CERT EXP37-C
M 498 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 498 Array index not unsigned. CERT ARR30-C
M 498 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 499 function call with no prior declaration. CERT EXP37-C
M 499 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 499 Array index not unsigned. CERT ARR30-C
M 499 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 500 function call with no prior declaration. CERT EXP37-C
M 500 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 500 Array index not unsigned. CERT ARR30-C
M 500 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 501 function call with no prior declaration. CERT EXP37-C

Code Line Violation Standard
M 501 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 501 Array index not unsigned. CERT ARR30-C
M 501 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 502 function call with no prior declaration. CERT EXP37-C
M 502 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 509 Casting operation on a pointer. CERT EXP11-C,EXP36-C,INT11-C
M 511 function call with no prior declaration. CERT EXP37-C
M 511 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 511 Array index not unsigned. CERT ARR30-C
M 511 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 512 function call with no prior declaration. CERT EXP37-C
M 512 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 514 function call with no prior declaration. CERT EXP37-C
M 514 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 514 Array index not unsigned. CERT ARR30-C
M 514 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 515 function call with no prior declaration. CERT EXP37-C
M 515 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 525 function call with no prior declaration. CERT EXP37-C
M 525 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 525 Array index not unsigned. CERT ARR30-C
M 525 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 526 function call with no prior declaration. CERT EXP37-C
M 526 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 526 Array index not unsigned. CERT ARR30-C
M 526 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 527 function call with no prior declaration. CERT EXP37-C
M 527 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 529 function call with no prior declaration. CERT EXP37-C
M 529 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 529 Array index not unsigned. CERT ARR30-C
M 529 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 530 function call with no prior declaration. CERT EXP37-C
M 530 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 536 function call with no prior declaration. CERT EXP37-C
M 536 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 536 Array index not unsigned. CERT ARR30-C
M 536 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 537 function call with no prior declaration. CERT EXP37-C
M 537 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 537 Array index not unsigned. CERT ARR30-C
M 537 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 538 function call with no prior declaration. CERT EXP37-C
M 538 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 540 function call with no prior declaration. CERT EXP37-C
M 540 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 540 Array index not unsigned. CERT ARR30-C
M 540 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 541 function call with no prior declaration. CERT EXP37-C
M 541 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 547 function call with no prior declaration. CERT EXP37-C
M 547 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 547 Array index not unsigned. CERT ARR30-C
M 547 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 548 function call with no prior declaration. CERT EXP37-C
M 548 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 548 Array index not unsigned. CERT ARR30-C
M 548 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 549 function call with no prior declaration. CERT EXP37-C
M 549 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 551 function call with no prior declaration. CERT EXP37-C
M 551 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 551 Array index not unsigned. CERT ARR30-C
M 551 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 552 function call with no prior declaration. CERT EXP37-C
M 552 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 558 function call with no prior declaration. CERT EXP37-C
M 558 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 558 Array index not unsigned. CERT ARR30-C
M 558 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 559 function call with no prior declaration. CERT EXP37-C
M 559 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 559 Array index not unsigned. CERT ARR30-C
M 559 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 560 function call with no prior declaration. CERT EXP37-C
M 560 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 560 Array index not unsigned. CERT ARR30-C
M 560 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 561 function call with no prior declaration. CERT EXP37-C
M 561 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 563 function call with no prior declaration. CERT EXP37-C
M 563 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 563 Array index not unsigned. CERT ARR30-C
M 563 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 564 function call with no prior declaration. CERT EXP37-C
M 564 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 570 function call with no prior declaration. CERT EXP37-C
M 570 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 570 Array index not unsigned. CERT ARR30-C
M 570 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 571 function call with no prior declaration. CERT EXP37-C
M 571 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 571 Array index not unsigned. CERT ARR30-C
M 571 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 572 function call with no prior declaration. CERT EXP37-C
M 572 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 572 Array index not unsigned. CERT ARR30-C
M 572 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 573 function call with no prior declaration. CERT EXP37-C
M 573 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 575 function call with no prior declaration. CERT EXP37-C
M 575 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 575 Array index not unsigned. CERT ARR30-C
M 575 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 576 function call with no prior declaration. CERT EXP37-C
M 576 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 583 function call with no prior declaration. CERT EXP37-C
M 583 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 583 Array index not unsigned. CERT ARR30-C
M 583 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 584 function call with no prior declaration. CERT EXP37-C
M 584 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 584 Array index not unsigned. CERT ARR30-C
M 584 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 585 function call with no prior declaration. CERT EXP37-C
M 585 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 585 Array index not unsigned. CERT ARR30-C
M 585 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 586 function call with no prior declaration. CERT EXP37-C
M 586 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 586 Array index not unsigned. CERT ARR30-C
M 586 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 587 function call with no prior declaration. CERT EXP37-C
M 587 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 587 Array index not unsigned. CERT ARR30-C
M 587 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 588 function call with no prior declaration. CERT EXP37-C
M 588 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 588 Array index not unsigned. CERT ARR30-C
M 588 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 589 function call with no prior declaration. CERT EXP37-C
M 589 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 589 Array index not unsigned. CERT ARR30-C
M 589 Value is not of appropriate type. : unsigned int int XtSetArg ( args [ n CERT INT01-C,INT02-C,INT07-C
M 590 function call with no prior declaration. CERT EXP37-C
M 590 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 593 function call with no prior declaration. CERT EXP37-C
M 593 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 595 function call with no prior declaration. CERT EXP37-C
M 595 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 601 function call with no prior declaration. CERT EXP37-C
M 601 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 609 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 609 Value is not of appropriate type. : unsigned int int ( imCan.cn_wd * imCan.cn_ht ) * sizeof ( u_char ) CERT INT01-C,INT02-C,INT07-C
M 610 function call with no prior declaration. CERT EXP37-C
M 610 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 611 function call with no prior declaration. CERT EXP37-C
M 611 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 612 function call with no prior declaration. CERT EXP37-C
M 612 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C

Code Line Violation Standard
M 614 function call with no prior declaration. CERT EXP37-C
M 614 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






testothervisual
(619 to 658 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 619 Declaration is missing type. CERT DCL31-C
M 627 function call with no prior declaration. CERT EXP37-C
M 627 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 629 Array index not unsigned. CERT ARR30-C
M 629 Value is not of appropriate type. : unsigned int int vinf [ i CERT INT01-C,INT02-C,INT07-C
M 632 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 635 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 635 Array index not unsigned. CERT ARR30-C
M 635 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "found visual %d: np %d cs %d r 0x%lx g 0x%lx b 0x%lx\n" , i , vinf [ i CERT INT01-C,INT02-C,INT07-C
M 635 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "found visual %d: np %d cs %d r 0x%lx g 0x%lx b 0x%lx\n" , i , vinf [ i ].depth , vinf [ i CERT INT01-C,INT02-C,INT07-C
M 635 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "found visual %d: np %d cs %d r 0x%lx g 0x%lx b 0x%lx\n" , i , vinf [ i ].depth , vinf [ i ].colormap_size , ( long ) vinf [ i CERT INT01-C,INT02-C,INT07-C
M 635 Value is not of appropriate type. : unsigned int int fprintf ( stderr , "found visual %d: np %d cs %d r 0x%lx g 0x%lx b 0x%lx\n" , i , vinf [ i ].depth , vinf [ i ].colormap_size , ( long ) vinf [ i ].red_mask , ( long ) vinf [ i CERT INT01-C,INT02-C,INT07-C
M 640 Array index not unsigned. CERT ARR30-C
M 640 Value is not of appropriate type. : unsigned int int ].blue_mask , ( long ) vinf [ i CERT INT01-C,INT02-C,INT07-C
M 642 function call with no prior declaration. CERT EXP37-C
M 642 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 642 Array index not unsigned. CERT ARR30-C
M 642 Value is not of appropriate type. : unsigned int int xswat.colormap = XCreateColormap ( xDisp , xRootW , vinf [ i CERT INT01-C,INT02-C,INT07-C
M 643 function call with no prior declaration. CERT EXP37-C
M 643 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 644 function call with no prior declaration. CERT EXP37-C
M 644 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 644 Array index not unsigned. CERT ARR30-C
M 644 Value is not of appropriate type. : unsigned int int imCan.cn_win = XCreateWindow ( xDisp , xRootW , 0 , 0 , 300 , 300 , 1 , 8 , InputOutput , vinf [ i CERT INT01-C,INT02-C,INT07-C
M 656 function call with no prior declaration. CERT EXP37-C
M 656 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






setlabel
(661 to 679 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 661 Declaration is missing type. CERT DCL31-C
M 669 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 669 function call with no prior declaration. CERT EXP37-C
M 669 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 672 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 673 function call with no prior declaration. CERT EXP37-C
M 673 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 674 function call with no prior declaration. CERT EXP37-C
M 674 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 675 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 676 function call with no prior declaration. CERT EXP37-C
M 676 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 677 function call with no prior declaration. CERT EXP37-C
M 677 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






configure
(682 to 745 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 719 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 719 Value is not of appropriate type. : unsigned int int ( wd * ht ) * sizeof ( u_char ) CERT INT01-C,INT02-C,INT07-C
M 720 function call with no prior declaration. CERT EXP37-C
M 720 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 722 Value is not of appropriate type. : bool int ( imCan.cn_wd CERT INT01-C,INT02-C,INT07-C
M 723 Value is not of appropriate type. : bool int ( imCan.cn_ht CERT INT01-C,INT02-C,INT07-C
M 724 Value is not of appropriate type. : bool unsigned char ( 0 CERT INT01-C,INT02-C,INT07-C
M 724 Value is not of appropriate type. : bool unsigned char ( 0 CERT INT01-C,INT02-C,INT07-C
M 725 Value is not of appropriate type. : bool unsigned char ( 0 CERT INT01-C,INT02-C,INT07-C
M 725 Value is not of appropriate type. : bool unsigned char ( 0 CERT INT01-C,INT02-C,INT07-C
M 726 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 726 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 727 function call with no prior declaration. CERT EXP37-C
M 727 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 731 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 733 Pointer assignment to wider scope. CERT DCL30-C,MEM36-C
M 740 function call with no prior declaration. CERT EXP37-C
M 740 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 741 function call with no prior declaration. CERT EXP37-C
M 741 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 742 function call with no prior declaration. CERT EXP37-C
M 742 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 743 function call with no prior declaration. CERT EXP37-C
M 743 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






redraw
(748 to 764 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 756 function call with no prior declaration. CERT EXP37-C
M 756 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 758 function call with no prior declaration. CERT EXP37-C
M 758 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 761 function call with no prior declaration. CERT EXP37-C
M 761 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






zoom
(767 to 775 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 774 Actual and formal parameters inconsistent (MR). CERT EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






pick
(786 to 871 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 793 function call with no prior declaration. CERT EXP37-C
M 793 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 802 function call with no prior declaration. CERT EXP37-C
M 807 function call with no prior declaration. CERT EXP37-C
M 807 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 808 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 809 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 810 function call with no prior declaration. CERT EXP37-C
M 810 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 815 function call with no prior declaration. CERT EXP37-C
M 815 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 816 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 818 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 820 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 824 function call with no prior declaration. CERT EXP37-C
M 824 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 830 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 832 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 834 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 846 function call with no prior declaration. CERT EXP37-C
M 846 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 847 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 849 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 851 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 853 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 855 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 859 function call with no prior declaration. CERT EXP37-C
M 859 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






rubbox
(918 to 935 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 918 Declaration is missing type. CERT DCL31-C
M 933 function call with no prior declaration. CERT EXP37-C
M 933 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






splat_out
(938 to 956 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 938 Declaration is missing type. CERT DCL31-C
M 948 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 948 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 949 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C
M 950 Deprecated usage of ++ or -- operators found. CERT EXP30-C,EXP31-C
M 950 Assignment operation in expression. CERT PRE31-C,EXP30-C,EXP31-C,FIO41-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]






label_row
(959 to 984 xep.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 959 Declaration is missing type. CERT DCL31-C
M 971 function call with no prior declaration. CERT EXP37-C
M 971 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 979 Array index not unsigned. CERT ARR30-C
M 979 Value is not of appropriate type. : unsigned int int ba [ x CERT INT01-C,INT02-C,INT07-C
M 981 function call with no prior declaration. CERT EXP37-C
M 981 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C
M 982 function call with no prior declaration. CERT EXP37-C
M 982 Procedure call has no prototype and no defn. CERT DCL07-C,EXP37-C


[ Top of Report | Key to Terms | Procedure Table | Contents ]




Key to Terms


Standards violations for procedures are printed in tables with code markers as follows:


Code (Line) Violation Standard
M (Source line number) [Text of Mandatory standard] [Appropriate rule reference]
C   [Text of Checking standard]  
O   [Text of Optional standard]  
[Source: Text of line from Source file]


                         Checking standards are considered mandatory but individual instances may be overridden by adding annotations to the source code
                         Optional standards provide additional quality criteria but may be violated

                         For some standards violations, additional information is provided in results tables
                         Note that source lines do not show macro expansions

                         "Off" in Summary tables indicates that a standard is switched off in the pen.dat file
                         "MR" in Summary tables indicates a MISRA Restricted standard which cannot be checked without the MISRA licence option.


A summary is given of the pass/fail result of each program component as follows:


Components which pass all standards are marked: Pass
Components which fail only Optional standards are marked: Conditional Pass
Components which fail on insufficient comments only are marked: Comment FAIL
Components which violate Mandatory standards are marked: FAIL



Procedure Results table breakdown (Example Only)


Unique Violations    
     
65 - 150
35 - 39 -



                         The Violation density for a function is the number of violations per reformatted line, expressed as a percentage.
                         It is an indication of code quality.

                         Functions with a high violation density are likely to be smaller functions with a large number of violations.

                         Lower density may indicate larger functions with fewer violations.

                                        (nViols / nRefLines) x 100

                         where:

                                        nViols = number of standard violations in a function.

                         and:

                                        nRefLines = number of reformatted lines in a function.

                         The unique standards failure ratio is an indication of variety of standards violations in a module.

                         Thus a function containing one instance of several different standards will have a high ratio,
                         while a function that has violated only one standards will have a low ratio.


[ Top of Report | Procedure Table | Contents ]


End of Code Review Report

Copyright © 2009 Liverpool Data Research Associates